package com.ztools.pc.service.coupon;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ztools.common.model.pc.coupon.CouponUsed;
import com.ztools.common.util.common.PageUtil;

import java.util.List;

/**
 * @Author: seeTools
 * @Date: 2023/5/18  12:10
 * @Version 1.0
 */
public interface CouponUsedService extends IService<CouponUsed> {

    /**
     * 分页查询
     *
     * @param pageUtil 分页数据
     * @return 对象
     */
    Page<CouponUsed> findList(PageUtil<CouponUsed> pageUtil);

    /**
     * 根据对象查询
     *
     * @param couponUsed couponUsed
     * @return CouponRecord
     */
    List<CouponUsed> findByObject(CouponUsed couponUsed);

    /**
     * 翻译
     *
     * @param couponUsedList couponUsedList
     */
    void dictionary(List<CouponUsed> couponUsedList);

}
